import request from '@/util/request'

export function getWeeklyApiAggregationData(params) {
  return request({
    url: '/admin/aggregate/getWeeklyApiAggregationView',
    method: 'get',
    params: params
  })
}

export function getHourApiAggregationData(params) {
  return request({
    url: '/admin/aggregate/getHourApiAggregationView',
    method: 'get',
    params: params
  })
}

export function getLanguageWordPieView() {
  return request({
    url: '/admin/aggregate/getLanguageWordPieView',
    method: 'get',
  })
}